gtk_snapshot_append_radial_gradient (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,
const graphene_point_t *center,
- float radius,
- float scale,
+ float hradius,
+ float vradius,
float start,
float end,
const GskColorStop *stops,
node = gsk_radial_gradient_node_new (&real_bounds,
&real_center,
- radius,
- scale,
+ hradius * scale_x,
+ vradius * scale_y,
start,
end,
stops,
gtk_snapshot_append_repeating_radial_gradient (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,
const graphene_point_t *center,
- float radius,
- float scale,
+ float hradius,
+ float vradius,
float start,
float end,
const GskColorStop *stops,
node = gsk_repeating_radial_gradient_node_new (&real_bounds,
&real_center,
- radius,
- scale,
+ hradius * scale_x,
+ vradius * scale_y,
start,
end,
stops,
void gtk_snapshot_append_radial_gradient (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,
const graphene_point_t *center,
- float radius,
- float scale,
+ float hradius,
+ float vradius,
float start,
float end,
const GskColorStop *stops,
void gtk_snapshot_append_repeating_radial_gradient (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,
const graphene_point_t *center,
- float radius,
- float scale,
+ float hradius,
+ float vradius,
float start,
float end,
const GskColorStop *stops,